﻿#region Using directives

using System;
using System.ComponentModel;

#endregion

namespace VCS.Entities
{	
	///<summary>
	/// An object representation of the 'InvoiceDetails' table. [No description found the database]	
	///</summary>
	/// <remarks>
	/// This file is generated once and will never be overwritten.
	/// </remarks>	
	[Serializable]
	[CLSCompliant(true)]
	public partial class InvoiceDetails : InvoiceDetailsBase
	{		
		#region Constructors

        [Description(@""), System.ComponentModel.Bindable(System.ComponentModel.BindableSupport.Yes)]
        [DataObjectField(false, false, false)]
        public decimal AmountPrice
        {
            get { return UnitPrice * Quantity; }
        }

		///<summary>
		/// Creates a new <see cref="InvoiceDetails"/> instance.
		///</summary>
		public InvoiceDetails():base(){}	
		
		#endregion
	}
}
